/**
 * The Community Project
 * Copyright Team1 Productions
 * 
 * Joshua Amick
 * Stephen Cunningham
 * Thema Davis
 * Tomika Dawson
 * Lucie DeCristofaro
 * 
 * All Rights Reserved.
 */

package com.domain;

import java.io.Serializable;
import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;



@Entity
@Table(name="announcement")
public class Announcement extends BaseObject implements Serializable{
	
	private Timestamp startDate;
	private Timestamp endDate;
	private String announcementTitle;
	private String announcementDescription;
	private String announcementDetails;
	private boolean publicViewable;
	
	@Column(name="announcement_description", length=2048, nullable=true)
	public String getAnnouncementDescription() {
		return announcementDescription;
	}
	public void setAnnouncementDescription(String announcementDescription) {
		this.announcementDescription = announcementDescription;
	}
	
	@Column(name="announcement_details", length=2048, nullable=true)
	public String getAnnouncementDetails() {
		return announcementDetails;
	}
	public void setAnnouncementDetails(String announcementDetails) {
		this.announcementDetails = announcementDetails;
	}
	
	@Column(name="announcement_title", length=256, nullable=true)
	public String getAnnouncementTitle() {
		return announcementTitle;
	}
	public void setAnnouncementTitle(String announcementTitle) {
		this.announcementTitle = announcementTitle;
	}
	
	@Column(name="end_date")
	public Timestamp getEndDate() {
		return endDate;
	}
	public void setEndDate(Timestamp endDate) {
		this.endDate = endDate;
	}
	
	@Column(name="public_viewable")
	public boolean isPublicViewable() {
		return publicViewable;
	}
	public void setPublicViewable(boolean publicViewable) {
		this.publicViewable = publicViewable;
	}
	
	@Column(name="start_date")
	public Timestamp getStartDate() {
		return startDate;
	}
	public void setStartDate(Timestamp startDate) {
		this.startDate = startDate;
	}

}
